package com.gopay.common.gateway.dao;

import java.io.Serializable;
import java.util.List;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.pg.PgGenOrderTransDtl;

/**
 * 网关通用订单交易DAO接口
 * 
 * @PgGeneralOrderTransDtlQueryDAO.java
 * @author GongZhong
 * @2012-12-28 下午01:44:27 www.gopay.com.cn Inc.All rights reserved.
 */
public interface PgGeneralOrderTransDtlQueryDAO extends BaseDAO<PgGenOrderTransDtl, Serializable> {

    public List<PgGenOrderTransDtl> findPgDtls(String merId, String merOrderId);

    public List<PgGenOrderTransDtl> findPgOrderTransDtl(int transDtlSq);

    public boolean checkPgTranDtlExists(String merId, String merOrderId,int transDtlSq);
}
